package tech.wangpai.service;

import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.stereotype.Component;
import tech.wangpai.IUserService;

@Component
@Service(version = "${service.version}", interfaceClass = IUserService.class)
public class UserServiceImpl implements IUserService {
    @Override
    public String hello(String name) {
        return "hello " + name;
    }
}
